import {WeaTools} from 'ecCom'
import isEmpty from 'lodash/isEmpty'
export const getTree = (params) => {
	const _url  = '/api/workflow/requestAttention/getTree';
	return WeaTools.callApi(_url, 'POST',params);
}
export const getTreeCount = (params) => {
	const _url  = '/api/workflow/requestAttention/getTreeCount';
	return WeaTools.callApi(_url, 'POST',params);
}
export const getSessionkey = (params) => {
	const _url  = '/api/workflow/requestAttention/getSessionkey';
	return WeaTools.callApi(_url, 'POST',params);
}
export const getCondition = (params) => {
	const _url  = '/api/workflow/requestAttention/getCondition';
	return WeaTools.callApi(_url, 'GET',params);
}